package com.nmf.site.common.excep;

public class KideException extends RuntimeException {
	private static final long serialVersionUID = 3021459287122616729L;
	private String expStr;
	private KideExpCode kideExpCode;
	public KideException(KideExpCode kideExpCode,String expStr){
		this.kideExpCode = kideExpCode;
		this.expStr = expStr;
	}

	@Override
	public String getMessage() {
		return this.expStr;
	}

	public KideExpCode getCode() {
		return kideExpCode;
	}

	
}
